package com.jbp.model;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 工会(Union)实体
 * @author cc
 * @since 2021-08-05 20:48:19
 */
@ApiModel(value="Union")
@Data
public class Unioner implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;
        
    
    private Integer uuid;
    private Integer userId;

    //名称
    @ApiModelProperty(value="名称")    
    private String name;
    private String img;

    //创建时间
    @ApiModelProperty(value="创建时间")    
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //更新时间
    @ApiModelProperty(value="更新时间")    
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @TableField(exist = false)
    private Integer status;
}